package cn.kgc.service.administrative;

import cn.kgc.dao.administrative.nbw_meetingYDDao;
import cn.kgc.pojo.Dict;
import cn.kgc.pojo.Meetingreserve;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class nbw_meetingYDServiceimpl implements nbw_meetingYDService{

    @Resource
    private nbw_meetingYDDao ydDao;


    @Override
    public List<Dict> selMeeting(String endtime) {
        return ydDao.selMeeting(endtime);
    }

    @Override
    public boolean addindexYD(Meetingreserve meetingreserve) {
        if (ydDao.addindexYD(meetingreserve)>-1){
            return true;
        }else {
            return false;
        }
    }
}
